package com.example.computer_exam_training_sys.service;

import java.net.SocketTimeoutException;

public interface QuestionExplainService {
    /**
     * AI对题目内容、答案和分析进行进一步解释
     * @param questionContent 题目内容
     * @param answer 答案
     * @param analysis 解析
     * @return AI进一步解释
     * @throws SocketTimeoutException 当AI服务响应超时时抛出
     */
    String explainQuestion(String questionContent, String answer, String analysis) throws SocketTimeoutException;
}
